//
//  BSAttentionViewController.m
//  BS
//
//  Created by 王浩宇 on 15/8/22.
//  Copyright (c) 2015年 lanou. All rights reserved.
//


#import "BSAttentionViewController.h"
#import "LJRequestManagerBlock.h"
#import "Header.h"




@interface BSAttentionViewController ()
@property (nonatomic, strong)UIWebView *webView;
@end

@implementation BSAttentionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT )];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://jiejiegame.spriteapp.cn/Client/web/Default.aspx?87ddd83"]];
    [_webView loadRequest:request];
    [self.view addSubview:_webView];
    UIBarButtonItem *leftBtn = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStylePlain target:self action:@selector(back)];
    self.navigationItem.leftBarButtonItem = leftBtn;
       // Do any additional setup after loading the view.
}


- (void)back{
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://jiejiegame.spriteapp.cn/Client/web/Default.aspx?87ddd83"]];
    [_webView loadRequest:request];
    NSLog(@"back");
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
